<link rel="stylesheet" href="./UI.css">
<div id="root">
    <h1>商品创建</h1>
    <qf-table :state="false" ref="a"> </qf-table>
    <qf-table :state="false" ref="b"></qf-table>
    <qf-table :state="false"></qf-table>
    <qf-table :state="false"></qf-table>


    <br>
    <br>
    <button @click="submitFn">点击请求接口</button>
</div>


<script src="http://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>

<script src="./UI.js"></script>

<script>
    const vm = new Vue({
        el: "#root",
        data: {


        },
        methods: {
            submitFn(){
                console.log(this.$refs.a.formData)
                console.log(this.$refs.b.formData)
                alert("商品创建。。。")
            }
        }
    })
</script>